package com.taikang.hmp.hservice.doctor.chineseevalmodel.bean;

import java.io.Serializable;


/**
 * @ClassName: SolarTermInfo
 * @Description: 气节工具类
 * @author helongfei
 * @date
 * 
 */
public class SolarTermInfo implements Serializable{

	private String solarTerm;

	private int index;
	
	private Long solarTermTime;
	
	private int solarTermMusicId;
	

	private int id;
	
	private void initData(){
		index = SolarTermUtil.getIndex();
		solarTerm = SolarTermUtil.getSolarTerm(index);
		solarTermTime = SolarTermUtil.getSolarTermTime(index);
		id = SolarTermUtil.getSolarTermId(index);
	}
	
	/**
	 * 
	 * @param currentTime
	 *            系统当前时间[type默认为膳食]
	 */
	public SolarTermInfo() {
         initData();
	}

	/**
	 * 根据当前时间获取节气
	 * 
	 * @param currentTime
	 * @return
	 */
	public String getSoralTerms() {
		return solarTerm;
	}

	/**
	 * 获取24节气对应的下标
	 * 
	 * @return
	 */
	public int getIndex() {
		return index;
	}
	
	public Long getSolarTermTime() {
		return solarTermTime;
	}
	
	public int getSolarTermMusicId(){
		return solarTermMusicId; 
	}
	
	public int getId(){
		return id;
	}
}